package com.jfinal.module.wxchat.api.beans;

import com.alibaba.fastjson.annotation.JSONCreator;
import com.alibaba.fastjson.annotation.JSONField;

/**
 * <p>
 * 上传多媒体文件返回结果
 * </p>
 *
 * @author Jerry Ou
 * @version 1.0 2014-02-12 13:41
 * @since JDK 1.6
 */
public class MediaUpload {
    private String type;
    private String media_id;
    private String created_at;

    @JSONCreator
    public MediaUpload(@JSONField(name = "type")String type,
                       @JSONField(name = "media_id")String media_id,
                       @JSONField(name = "created_at")String created_at) {
        this.type = type;
        this.media_id = media_id;
        this.created_at = created_at;
    }

    public String getType() {
        return type;
    }

    public String getMedia_id() {
        return media_id;
    }

    public String getCreated_at() {
        return created_at;
    }
}
